package com.zhoupu.integrated.file.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class S3Config {

    @Value("${cloud.aws.credentials.access-key}")
    private String accessKey;

    @Value("${cloud.aws.credentials.secret-key}")
    private String secretKey;

    @Value("${cloud.aws.region.static}")
    private String region;

    @Value("${s3.endpoint}")
    private String endpoint;

    @Value("${s3.force-path-style:false}")
    private boolean forcePathStyle;

    @Value("${s3.bucket}")
    private String bucket;

    @Value("${s3.domain}")
    private String domain;
}
